package io;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

/**
 *即将所有的小写字母写入文件fos.txt
 */
public class Test {
    public static void main(String[] args) throws IOException {
        FileOutputStream file=new FileOutputStream("fos.txt");
        for(int i=0;i<26;i++){
          file.write(97+i);
        }
        file.close();
    }
}
